package com.ll.app.api.jj;

import com.ll.app.api.jj.enums.JJProjectStatusEnum;
import com.ll.base.dto.PageReqDTO;
import com.ll.base.enums.FinishStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 分页查找
 *
 * @author WuHen
 * @date 2021/10/17 14:42
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PageJJProjectReqDTO extends PageReqDTO {

    @NotNull(message = "dingTalkUserId 不能为null")
    @ApiModelProperty(value = "钉钉用户id", example = "123456")
    private String cDingUid;

    @ApiModelProperty(value = "项目状态", example = "待审批")
    private JJProjectStatusEnum status;

    @ApiModelProperty(value = "完成状态", example = "进行中")
    private FinishStatusEnum finishStatus;
}
